<!-- 周末去哪儿推荐模块 -->
<template>
  <div>
    <div class="title">
      周末去哪儿
    </div>
    <ul>
      <li class="itme border-bottom" v-for="itme of Weeklist" :key="itme.id">
        <div class="itme-img-warpper">
          <img class="itme-img" :src="itme.imgUrl"/>
        </div>
        <div class="info">
          <p class="info-title">{{itme.title}}</p>
          <p class="info-decs">{{itme.desc}}</p>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'Recommend',
  props: ['Weeklist']
}
</script>

<style lang="stylus" scoped>
  @import '~styles/Mixins.styl'
  .title
    background: #EEEEEE
    text-indent: 0.3rem
    font-size: 0.3rem
    line-height: .8rem
  .itme
    .itme-img-warpper
      overflow: hidden
      padding-bottom: 37%
      height: 0
      .itme-img
        width: 100%
    .info
      min-width: 0
      padding: .2rem
      flex: 1
      .info-title
        line-height: .54rem
        font-size: .32rem
        ellipsis()
      .info-decs
        line-height: .60rem
        padding-right: 0.75rem
        color: #616161
        ellipsis()
</style>
